<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../bootstrap-5.1.3-dist/css/bootstrap.css">
    <script src="../bootstrap-5.1.3-dist/js/bootstrap.js"></script>
</head>

<body class="container">
    <h5 align="center">增长变换布局</h5>
    <div class="d-flex bg-warning text-white mb-4">
        <div class="p-2 flex-grow-1 bg-primary">家用电器</div>
        <div class="p-2 bg-success">电脑办公</div>
        <div class="p-2 bg-danger">男装女装</div>
    </div>
    <h5 align="center">收缩变换布局</h5>
    <div class="d-flex bg-warning text-white">
        <div class="p-2 w-100 bg-primary">家用电器</div>
        <div class="p-2 bg-success">电脑办公</div>
        <div class="p-2 w-100 bg-danger">男装女装</div>
    </div>
</body>

</html>